<template>
  <div class="container-y">
    <template-items
      v-for="(item,index) in assetList"
      :key="index"
      :title="item.title"
      :list="item.list">
    </template-items>
    <div class="pdb"></div>
  </div>
</template>

<script>
  import templateItems from "../commonComponents/templateItems.vue"

  export default {
    data() {
      return {
        assetList: []
      }
    },
    methods: {
      init() {
        this.headerFlag = this.$store.state.showFlag;
        _methods.headerTitleChange(150);
        this.assetList = _methods.temRead(_data.checkAsset);
      },
    },
    created() {
      this.init();
    },
    components: {
      templateItems,
    },
    beforeDestroy() {
      _methods.headerTitleChange(this.headerFlag, true);
    }
  }
</script>
